package com.funShopping.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.funShopping.user.domain.TbUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @program: funShopping
 * @description: 用户数据层
 * @author: talented_zhang
 * @create: 2024-03-25 22:00
 **/
@Mapper
public interface UserMapper extends BaseMapper<TbUser> {

    @Select("select * from tesco_tb_user where user_id=${userId}")
    TbUser getById(Integer userId);
}
